public class HardHeadedFrequencyModel extends OpponentModel
negotiationSession, opponentUtilitySpace| Constructor and Description |
|---|
HardHeadedFrequencyModel() |
| Modifier and Type | Method and Description |
|---|---|
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile.
|
java.lang.String |
getName() |
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the utility space of the opponent such that all value
issue weights are equal.
|
void |
updateModel(Bid opponentBid,
double time)
Updates the opponent model given a bid.
|
cleanUp, getIssueWeights, getOpponentUtilitySpace, getWeight, init, isCleared, setOpponentUtilitySpace, setOpponentUtilitySpace, updateModelpublic void init(NegotiationSession negotiationSession, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
init in class OpponentModelnegotiationSession - reference to the state of the negotiationjava.lang.Exceptionpublic void updateModel(Bid opponentBid, double time)
updateModel in class OpponentModelopponentBid - to update the model with.time - at which the bid was offered.public double getBidEvaluation(Bid bid)
OpponentModelgetBidEvaluation in class OpponentModelbid - of which the utility is calculated.public java.lang.String getName()
getName in class OpponentModel